package com.csun.cmny.provider.model.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

@Data
@Table(name = "cn_omc_cur_task_query_group")
public class OmcCurTaskQueryGroup {

    @Id
    @Column(name = "cur_task_query_id")
    @NotNull(message = "{cur.task.query.id.null}")
    private Long curTaskQueryId;

    @Id
    @Column(name = "group_id")
    @NotNull(message = "{group.id.null}")
    private Long groupId;

}